//
//  $Id$
//  VCS_WS_Client
//
//  Created by hu_danyuan on 19-06-17.
//   (c) Copyright 2019, hu_danyuan All Rights Reserved
//
//	描    述:  录像文件
//

#import <Foundation/Foundation.h>

extern NSString *const kVCS_WS_RecordTypeAll;   // 所有录像
extern NSString *const kVCS_WS_RecordTypeTime;  // 定时录像
extern NSString *const kVCS_WS_RecordTypeAlarm;  // 报警录像
extern NSString *const kVCS_WS_RecordTypeManual;  // 手动录像
extern NSString *const kVCS_WS_RecordTypeLost;  // 视频丢失录像
extern NSString *const kVCS_WS_RecordTypeMovement;  // 移动侦测录像
extern NSString *const kVCS_WS_RecordTypeMask;  // 视频遮挡录像
extern NSString *const kVCS_WS_RecordTypeRegular;  // 普通录像
extern NSString *const kVCS_WS_RecordTypeLock;  // 录像被锁定

@interface VCS_WS_FindCond : NSObject

@property (nonatomic, strong) NSString*     deviceUuid;     // 网关设备id
@property (nonatomic, strong) NSString*     cameraUuid;     // 监控设备id
@property (nonatomic, assign) int           channelIndex;   // 通道索引
@property (nonatomic, strong) NSString*     type;           // 录像类型
@property (nonatomic, assign) uint64_t      startTime;      // 播放开始时间
@property (nonatomic, assign) uint64_t      endTime;        // 播放结束时间

@end

@interface VCS_WS_Record : NSObject <NSCopying, NSMutableCopying>

- (id)initWithDictionary:(NSDictionary *)dictionary;

@property (nonatomic, strong) NSString      *uuid;      // 录像id //
@property (nonatomic, strong) NSString      *name;      // 录像名称 //
@property (nonatomic, strong) NSString      *type;      // 录像类型 //
@property (nonatomic, assign) uint64_t      startTime;  // 开始时间 //
@property (nonatomic, assign) uint64_t      endTime;    // 结束时间 //

@end



#pragma mark - WCS

@interface WCS_WS_FindCond : NSObject

@property (nonatomic, strong) NSString*     devicePath;     // 设备路径
@property (nonatomic, strong) NSString*     type;           // 录像类型
@property (nonatomic, assign) uint64_t      startTime;      // 播放开始时间
@property (nonatomic, assign) uint64_t      endTime;        // 播放结束时间

@end

@interface WCS_WS_Record : VCS_WS_Record

@end

@interface WCS_WS_RecordResult : NSObject <NSCopying, NSMutableCopying>

- (id)initWithDictionary:(NSDictionary *)dictionary;

@property (nonatomic, assign) NSInteger                     record_num;    // 录像总记录数 //
@property (nonatomic, strong) NSArray<WCS_WS_Record *>      *records;      // 录像记录 //

@end


